<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <button>点击我</button>
    <script>
        window.a = 11111
        window.setTimeout
        // 获取原始的window
        const rawWindow = Function('return window')();
        console.log(rawWindow.a); // 11111·
    </script>
</body>

</html>